package com.atguigu.strategy.improve;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 鸭子的属性接口实现类（叫声）
 * @create: 2022-04-05 09:44
 **/
public class GaGaQuackBehavior implements QuackBehavior{
    @Override
    public void quack(String name) {
        System.out.println(name + " -> gaga的叫");
    }
}
